package com.gxa.modules.model.dto;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FreeAndDateDto {

    @ApiModelProperty("本次住院总费用")
    private double money;

    @ApiModelProperty("本次住院的时间段")
    private List<DateTime> dates;

    @JsonIgnore
    @ApiModelProperty("住院时间")
    private Date startDate;

    @JsonIgnore
    @ApiModelProperty("出院时间")
    private Date endDate;
}
